<template>
  <div v-if="showPage" class="g-port-main page">
    <div>
      <br/>
<form id="moodleform" target="queryIframe"  method="post" action="https://wx.goct.com.cn/TruckJobInfo/turnaroundtime.php?weixinid=oFWWcuKgOuZW99f-EuarJ_hbkv1g">
    <group title="查询信息">
      <x-input title="单号" name="turnaround" type="text" v-model="no" placeholder="单号"></x-input>
    </group>
    <br/>
    <x-button type="primary"  style="height: 0.55rem;">查询</x-button>
</form>
    <!--<x-button plain type="primary" link="/type">Back</x-button>-->
    </div>
    <iframe style="margin-top: -0.5rem;" id="queryIframe" :src="url" name="queryIframe" width="100%" height="100%"  frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="yes" allowtransparency="yes"></iframe>
  </div>
</template>

<script>

  import Lib from '@/assets/js/Lib'
  import { Port } from '@/assets/api/query/port'
  import { XButton,Group,Selector, ButtonTab, ButtonTabItem,XInput} from 'vux'

  let _port = new Port()
  export default {
    data() {
      return {
        no:'AJ9508',
        url:'',
        showPage:true,
        headImg:""
      }
    },
    components: {
      XButton,Group,Selector,ButtonTab, ButtonTabItem,XInput
    },
    methods: {
      selectType:function () {
       // console.log('type:'+this.type+'  port:'+this.port+'  no:'+this.no+'    url:'+this.url);
      },
    },
    mounted () {
      let _vue = this
    },created(){
      Lib.M.changeTitle('选择');

    }
  }
</script>

<style lang="scss">

</style>
